home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / devel / tcl / tclx7_31.z / tclx7_31 / tcldev / tclX7.3a-p1 / tools / Makefile < prev    next >
Encoding:
Makefile  |  1994-01-25  |  2.6 KB  |  85 lines

  1. # Generated automatically from Makefile.in by configure.
  2. #
  3. # tools/Makefile.in  --
  4. #
  5. # Makefile for building tools used during install
  6. #------------------------------------------------------------------------------
  7. # Copyright 1992-1993 Karl Lehenbauer and Mark Diekhans.
  8. #
  9. # Permission to use, copy, modify, and distribute this software and its
  10. # documentation for any purpose and without fee is hereby granted, provided
  11. # that the above copyright notice appear in all copies.  Karl Lehenbauer and
  12. # Mark Diekhans make no representations about the suitability of this
  13. # software for any purpose.  It is provided "as is" without express or
  14. # implied warranty.
  15. #------------------------------------------------------------------------------
  16. # $Id: Makefile.in,v 3.2 1993/11/19 08:22:02 markd Exp $
  17. #------------------------------------------------------------------------------
  18. #
  19. SHELL = /bin/sh
  20.  
  21. #------------------------------------------------------------------------------
  22.  
  23. CC          = cc
  24. srcdir      = .
  25. srcbasedir  = /home/david/src/tcldev/tclX7.3a-p1
  26. bldbasedir  = /home/david/src/tcldev/tclX7.3a-p1
  27. VPATH       = .
  28. prefix      = $(ROOT)/usr
  29. exec_prefix = ${prefix}
  30. XINCLUDES   =  -I/usr/X386/include
  31.  
  32. include ${bldbasedir}/Config.mk
  33.  
  34. #------------------------------------------------------------------------------
  35.  
  36. CC_FLAGS = ${CPPFLAGS} ${XCFLAGS} ${CFLAGS} -I${srcbasedir}/src \
  37.            ${XINCLUDES} -I${TCL_UCB_SRC}
  38.  
  39. .c.o:
  40.     ${CC} ${CC_FLAGS} -c $<
  41.  
  42. #------------------------------------------------------------------------------
  43.  
  44. all: tclxversion $(TK_BUILD) instcopy bldmanhelp cpmanpages cphelpdir
  45.  
  46. tclxversion: getversion.c
  47.     $(CC) $(CC_FLAGS) ${srcdir}/getversion.c -o tclxversion
  48.  
  49. WISHX: tkxversion
  50.  
  51. tkxversion: getversion.c
  52.     $(CC) $(CC_FLAGS) -I$(TK_UCB_SRC) -DTK_GET_VERSION \
  53.        ${srcdir}/getversion.c -o tkxversion
  54.  
  55. instcopy: instcopy.tcl buildutil.tcl
  56.     rm -f instcopy
  57.     cat ${srcdir}/buildutil.tcl ${srcdir}/instcopy.tcl >instcopy
  58.  
  59. bldmanhelp: bldmanhelp.tcl
  60.     rm -f bldmanhelp
  61.     cp ${srcdir}/bldmanhelp.tcl bldmanhelp
  62.  
  63. cpmanpages: cpmanpages.tcl buildutil.tcl
  64.     rm -f cpmanpages
  65.     cat ${srcdir}/buildutil.tcl ${srcdir}/cpmanpages.tcl >cpmanpages
  66.  
  67. cphelpdir: cphelpdir.sh
  68.     rm -f cphelpdir
  69.     echo ":"                           >cphelpdir
  70.     echo "TOOLS=${bldbasedir}/tools"   >cphelpdir
  71.     cat ${srcdir}/cphelpdir.sh        >>cphelpdir
  72.     chmod a+x cphelpdir
  73.  
  74. #------------------------------------------------------------------------------
  75.  
  76. clean:
  77.     -rm -f tclxversion tkxversion *.o
  78.     -rm -f instcopy bldmanhelp cpmanpages cphelpdir TclXman.lst
  79.  
  80. #------------------------------------------------------------------------------
  81. # Restore to the distributed state.
  82.  
  83. distclean: clean
  84.     rm -f Makefile
  85.